﻿#include "D3D9TypesZhongWen.h"

namespace 查询类型枚举{
	const GUID *保护机制 = &D3DAUTHENTICATEDQUERY_PROTECTION;
	const GUID *通道类型 = &D3DAUTHENTICATEDQUERY_CHANNELTYPE;
	const GUID *设备句柄 = &D3DAUTHENTICATEDQUERY_DEVICEHANDLE;
	const GUID *加密会话 = &D3DAUTHENTICATEDQUERY_CRYPTOSESSION;
	const GUID *受限共享资源进程数 = &D3DAUTHENTICATEDQUERY_RESTRICTEDSHAREDRESOURCEPROCESSCOUNT;
	const GUID *受限共享资源进程 = &D3DAUTHENTICATEDQUERY_RESTRICTEDSHAREDRESOURCEPROCESS;
	const GUID *非受限保护资源计数 = &D3DAUTHENTICATEDQUERY_UNRESTRICTEDPROTECTEDSHAREDRESOURCECOUNT;
	const GUID *输出ID计数 = &D3DAUTHENTICATEDQUERY_OUTPUTIDCOUNT;
	const GUID *输出ID = &D3DAUTHENTICATEDQUERY_OUTPUTID;
	const GUID *可访问属性 = &D3DAUTHENTICATEDQUERY_ACCESSIBILITYATTRIBUTES;
	const GUID *可访问加密GUID计数 = &D3DAUTHENTICATEDQUERY_ENCRYPTIONWHENACCESSIBLEGUIDCOUNT;
	const GUID *单个加密GUID = &D3DAUTHENTICATEDQUERY_ENCRYPTIONWHENACCESSIBLEGUID;
	const GUID *当前加密方案 = &D3DAUTHENTICATEDQUERY_CURRENTENCRYPTIONWHENACCESSIBLE;
}

namespace 配置类型枚举{
	const GUID *初始化 = &D3DAUTHENTICATEDCONFIGURE_INITIALIZE;
	const GUID *保护机制 = &D3DAUTHENTICATEDCONFIGURE_PROTECTION;
	const GUID *加密会话绑定 = &D3DAUTHENTICATEDCONFIGURE_CRYPTOSESSION;
	const GUID *共享资源 = &D3DAUTHENTICATEDCONFIGURE_SHAREDRESOURCE;
	const GUID *可访问时加密 = &D3DAUTHENTICATEDCONFIGURE_SHAREDRESOURCE;
}

namespace 加密算法类型{
	const GUID *AES_128_CTR = &D3DCRYPTOTYPE_AES128_CTR; // AES-128-CTR 加密算法（标准NIST算法）
	const GUID *私有协议 = &D3DCRYPTOTYPE_PROPRIETARY; // 厂商私有加密算法
}

namespace 密钥交换类型{
	const GUID *RSAES_OAEP = &D3DKEYEXCHANGE_RSAES_OAEP ; // RSAES-OAEP 非对称加密协议
	const GUID *DXVA = &D3DKEYEXCHANGE_DXVA ; // 基于DXVA的专用密钥交换
}